import os

base_url = os.path.dirname(__file__)

settings = {
    "static_path": os.path.join(base_url, 'static'),
    "static_url_pre": "/static/",
    "cookie_secret": "yaprekljasd;fj",  # 可以 使用uuid生成全球唯一
    "xsrf_cookies": "ypksdjflj",  # xsrf 攻击  可以 使用uuid生成全球唯一
    "login_url": "/login",
    "template_path": os.path.join(base_url, 'template'),
    "debug": True,
}

port = 9001

mysql_param = {
    "database": "jing_dong",
    "host": "127.0.0.1",
    "username": "root",
    "password": "mysql",
    "port": 3306,

}

num = 2

redis_param = dict(host="127.0.0.1", port=6379)

log_path = os.path.join(base_url, 'logs', 'tor.log')
